package com.yilin.tms.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.system.system.Jurisdiction;

import java.util.List;

/**
 * 权限service
 *
 * @author zhangjinyuan
 * @date 2022/8/3
 */
public interface IJurisdictionService extends IService<Jurisdiction> {


    void saveJurisdiction(Jurisdiction jurisdiction);

    PageData<Jurisdiction> getJurisdictionPage(Jurisdiction query, Integer page, Integer limit);

    List<Jurisdiction> getJurisdictionList();

    Jurisdiction getJurisdictionById(String jurisdictionId);

    List<Jurisdiction> getJurisdictionListByIds(String[] ids);

    void editJurisdiction(Jurisdiction jurisdiction);

    int removeJurisdiction(String[] jurisdictionIds);
}
